<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::Rectangle Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="structgbmath_1_1_rectangle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::Rectangle Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>integer values rectangle  
 <a href="structgbmath_1_1_rectangle.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rectangle_8h_source.html">rectangle.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7e8284dc5d71e16dca369b6210f9e1bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a7e8284dc5d71e16dca369b6210f9e1bd">Rectangle</a> ()</td></tr>
<tr class="separator:a7e8284dc5d71e16dca369b6210f9e1bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7175f9134d16cb00d445de44b3165db8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a7175f9134d16cb00d445de44b3165db8">Rectangle</a> (int w, int h)</td></tr>
<tr class="separator:a7175f9134d16cb00d445de44b3165db8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b1959e2239f6bdac9a511e30701616"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#ad1b1959e2239f6bdac9a511e30701616">Rectangle</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;a)</td></tr>
<tr class="separator:ad1b1959e2239f6bdac9a511e30701616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a8a0e1d242e583a6ad90b9a88ca2f0d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a2a8a0e1d242e583a6ad90b9a88ca2f0d">Rectangle</a> (int _x, int _y, int _w, int _h)</td></tr>
<tr class="separator:a2a8a0e1d242e583a6ad90b9a88ca2f0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5db8632d32199cc19789992721daad5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#ae5db8632d32199cc19789992721daad5">init</a> (int <a class="el" href="structgbmath_1_1_rectangle.html#a0831213afa4d4c3592c1d395bac9fcf8">x</a>, int <a class="el" href="structgbmath_1_1_rectangle.html#a44272457a26ad9d5e87aeab63425db8e">y</a>, int w, int h)</td></tr>
<tr class="separator:ae5db8632d32199cc19789992721daad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c23159940c901d940a79b1f2f1d99a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a4c23159940c901d940a79b1f2f1d99a0">set_zero</a> ()</td></tr>
<tr class="memdesc:a4c23159940c901d940a79b1f2f1d99a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">set all to zero  <a href="#a4c23159940c901d940a79b1f2f1d99a0">More...</a><br/></td></tr>
<tr class="separator:a4c23159940c901d940a79b1f2f1d99a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66d64b55fcdb12eca29e3da617db1efb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a66d64b55fcdb12eca29e3da617db1efb">empty</a> () const </td></tr>
<tr class="memdesc:a66d64b55fcdb12eca29e3da617db1efb"><td class="mdescLeft">&#160;</td><td class="mdescRight">is all zero ?  <a href="#a66d64b55fcdb12eca29e3da617db1efb">More...</a><br/></td></tr>
<tr class="separator:a66d64b55fcdb12eca29e3da617db1efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74953f9133572fcf4063c6fbf4b06bdf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a74953f9133572fcf4063c6fbf4b06bdf">operator&lt;</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;a) const </td></tr>
<tr class="separator:a74953f9133572fcf4063c6fbf4b06bdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e6488f0be61dae5cb4f09b183eb98fd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a6e6488f0be61dae5cb4f09b183eb98fd">operator==</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;a) const </td></tr>
<tr class="separator:a6e6488f0be61dae5cb4f09b183eb98fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7448cad890930239dacc6956d22a2bd3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a7448cad890930239dacc6956d22a2bd3">operator!=</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;a) const </td></tr>
<tr class="separator:a7448cad890930239dacc6956d22a2bd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f1a9480e882e881853d7c363b3dc771"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a1f1a9480e882e881853d7c363b3dc771">check_point</a> (int <a class="el" href="structgbmath_1_1_rectangle.html#a0831213afa4d4c3592c1d395bac9fcf8">x</a>, int <a class="el" href="structgbmath_1_1_rectangle.html#a44272457a26ad9d5e87aeab63425db8e">y</a>) const </td></tr>
<tr class="memdesc:a1f1a9480e882e881853d7c363b3dc771"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verification of finding a point in the rectangle.  <a href="#a1f1a9480e882e881853d7c363b3dc771">More...</a><br/></td></tr>
<tr class="separator:a1f1a9480e882e881853d7c363b3dc771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a16fa64f132a86c14f12bc6e85d6f38"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a4a16fa64f132a86c14f12bc6e85d6f38">check_point</a> (const <a class="el" href="structgbmath_1_1point.html">point</a> &amp;p)</td></tr>
<tr class="memdesc:a4a16fa64f132a86c14f12bc6e85d6f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verification of finding a point in the rectangle.  <a href="#a4a16fa64f132a86c14f12bc6e85d6f38">More...</a><br/></td></tr>
<tr class="separator:a4a16fa64f132a86c14f12bc6e85d6f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3a5bdcb9289d774eadb5f9d735123c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#aea3a5bdcb9289d774eadb5f9d735123c">offset</a> (int <a class="el" href="structgbmath_1_1_rectangle.html#a0831213afa4d4c3592c1d395bac9fcf8">x</a>, int <a class="el" href="structgbmath_1_1_rectangle.html#a44272457a26ad9d5e87aeab63425db8e">y</a>)</td></tr>
<tr class="memdesc:aea3a5bdcb9289d774eadb5f9d735123c"><td class="mdescLeft">&#160;</td><td class="mdescRight">move rectangle  <a href="#aea3a5bdcb9289d774eadb5f9d735123c">More...</a><br/></td></tr>
<tr class="separator:aea3a5bdcb9289d774eadb5f9d735123c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf64a4ae85ae9cca45b89910e0c0eb89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#adf64a4ae85ae9cca45b89910e0c0eb89">operator std::string</a> () const </td></tr>
<tr class="separator:adf64a4ae85ae9cca45b89910e0c0eb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4df681ebf417ae3c8922d474a52c8eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#ae4df681ebf417ae3c8922d474a52c8eb">operator=</a> (const std::string &amp;str)  throw (std::invalid_argument)</td></tr>
<tr class="separator:ae4df681ebf417ae3c8922d474a52c8eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3e43a1cacfaa37fd172a0d3e23336a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#ab3e43a1cacfaa37fd172a0d3e23336a6">is_contains_whole_rectangle</a> (const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;r) const </td></tr>
<tr class="memdesc:ab3e43a1cacfaa37fd172a0d3e23336a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">contains the whole rectangle?  <a href="#ab3e43a1cacfaa37fd172a0d3e23336a6">More...</a><br/></td></tr>
<tr class="separator:ab3e43a1cacfaa37fd172a0d3e23336a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aebcf44e0a5efa1f28675b88623d22a06"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:aa233c95be82834d96e3bc37520ea8d12"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structgbmath_1_1_rectangle.html#a63b699b59363c95d59ce0804087e70e9">left</a></td></tr>
<tr class="memdesc:aa233c95be82834d96e3bc37520ea8d12"><td class="mdescLeft">&#160;</td><td class="mdescRight">position X.  <a href="#aa233c95be82834d96e3bc37520ea8d12">More...</a><br/></td></tr>
<tr class="separator:aa233c95be82834d96e3bc37520ea8d12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abda1fbdd15c46aeaf4ed260c0723eabe"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structgbmath_1_1_rectangle.html#a0831213afa4d4c3592c1d395bac9fcf8">x</a></td></tr>
<tr class="separator:abda1fbdd15c46aeaf4ed260c0723eabe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebcf44e0a5efa1f28675b88623d22a06"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:aebcf44e0a5efa1f28675b88623d22a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00dc7dd1f2470c0c886bcc60542c5fb6"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:ac9093f9a8e785c1a427097a3c116c484"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structgbmath_1_1_rectangle.html#a2585890e98a04aead7a5ef151fe0b409">top</a></td></tr>
<tr class="memdesc:ac9093f9a8e785c1a427097a3c116c484"><td class="mdescLeft">&#160;</td><td class="mdescRight">position Y.  <a href="#ac9093f9a8e785c1a427097a3c116c484">More...</a><br/></td></tr>
<tr class="separator:ac9093f9a8e785c1a427097a3c116c484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ac64494838b9eb8c891c0ec817c0f26"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structgbmath_1_1_rectangle.html#a44272457a26ad9d5e87aeab63425db8e">y</a></td></tr>
<tr class="separator:a8ac64494838b9eb8c891c0ec817c0f26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00dc7dd1f2470c0c886bcc60542c5fb6"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a00dc7dd1f2470c0c886bcc60542c5fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc3831b20742e1542a396dfbd1850bf0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#adc3831b20742e1542a396dfbd1850bf0">width</a></td></tr>
<tr class="memdesc:adc3831b20742e1542a396dfbd1850bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">rect width.  <a href="#adc3831b20742e1542a396dfbd1850bf0">More...</a><br/></td></tr>
<tr class="separator:adc3831b20742e1542a396dfbd1850bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad33ad7d5fdaf7830f9e17f87363b0b1a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#ad33ad7d5fdaf7830f9e17f87363b0b1a">height</a></td></tr>
<tr class="memdesc:ad33ad7d5fdaf7830f9e17f87363b0b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">rect height.  <a href="#ad33ad7d5fdaf7830f9e17f87363b0b1a">More...</a><br/></td></tr>
<tr class="separator:ad33ad7d5fdaf7830f9e17f87363b0b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a8dee3ba99c775578a548ff8333ab97d6"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html#a8dee3ba99c775578a548ff8333ab97d6">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;r)</td></tr>
<tr class="separator:a8dee3ba99c775578a548ff8333ab97d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>integer values rectangle </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00020">20</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7e8284dc5d71e16dca369b6210f9e1bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rectangle::Rectangle </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00039">39</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7175f9134d16cb00d445de44b3165db8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rectangle::Rectangle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00044">44</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad1b1959e2239f6bdac9a511e30701616"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rectangle::Rectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00051">51</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2a8a0e1d242e583a6ad90b9a88ca2f0d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rectangle::Rectangle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00059">59</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a1f1a9480e882e881853d7c363b3dc771"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::check_point </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verification of finding a point in the rectangle. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00131">131</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4a16fa64f132a86c14f12bc6e85d6f38"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::check_point </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1point.html">point</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verification of finding a point in the rectangle. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00138">138</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a66d64b55fcdb12eca29e3da617db1efb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::empty </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>is all zero ? </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00089">89</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae5db8632d32199cc19789992721daad5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rectangle::init </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00074">74</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab3e43a1cacfaa37fd172a0d3e23336a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::is_contains_whole_rectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>contains the whole rectangle? </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00216">216</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="aea3a5bdcb9289d774eadb5f9d735123c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rectangle::offset </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>move rectangle </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00153">153</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="adf64a4ae85ae9cca45b89910e0c0eb89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::Rectangle::operator std::string </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00192">192</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7448cad890930239dacc6956d22a2bd3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00104">104</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a74953f9133572fcf4063c6fbf4b06bdf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00094">94</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae4df681ebf417ae3c8922d474a52c8eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rectangle::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::invalid_argument</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00199">199</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6e6488f0be61dae5cb4f09b183eb98fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::Rectangle::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00099">99</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4c23159940c901d940a79b1f2f1d99a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::Rectangle::set_zero </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set all to zero </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00083">83</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a8dee3ba99c775578a548ff8333ab97d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00185">185</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aebcf44e0a5efa1f28675b88623d22a06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a00dc7dd1f2470c0c886bcc60542c5fb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad33ad7d5fdaf7830f9e17f87363b0b1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::height</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>rect height. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00037">37</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a63b699b59363c95d59ce0804087e70e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::left</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>position X. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00024">24</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2585890e98a04aead7a5ef151fe0b409"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::top</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>position Y. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00030">30</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="adc3831b20742e1542a396dfbd1850bf0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::width</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>rect width. </p>

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00036">36</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0831213afa4d4c3592c1d395bac9fcf8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::x</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00025">25</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<a class="anchor" id="a44272457a26ad9d5e87aeab63425db8e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::Rectangle::y</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rectangle_8h_source.html#l00031">31</a> of file <a class="el" href="rectangle_8h_source.html">rectangle.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="rectangle_8h_source.html">rectangle.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
